﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="blog.WebForm2" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <script src="INC/jquery-1.11.1.js"></script>
    <script src="INC/jquery.extend.js"></script>
    <script type="text/javascript">
        LoadPostList = function () {
            
            $("#postlist").loadUserControl("1");


            //$.ajaxWebService("WebForm2.aspx/RenderUserControl", "{postid:'1'}", function (result) {
            //    $("#postlist").html(result.d);
            // });
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <input type="button"  id="button" value="submit" onclick="LoadPostList()" />
    <div id='postlist'></div>
        <div id='postlist1'></div>
    </div>
    </form>
</body>
</html>
